package com.aaa.entity;

import java.io.Serializable;
import lombok.Data;

/**
 * Table: pms_product_attribute
 */
@Data
public class PmsProductAttribute implements Serializable {
    /**
     * Table:     pms_product_attribute
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * Table:     pms_product_attribute
     * Column:    shop_id
     * Nullable:  false
     */
    private Long shopId;

    /**
     * Table:     pms_product_attribute
     * Column:    product_attribute_category_id
     * Nullable:  true
     */
    private Long productAttributeCategoryId;

    /**
     * Table:     pms_product_attribute
     * Column:    name
     * Nullable:  true
     */
    private String name;

    /**
     * 属性选择类型：0->唯一；1->单选；2->多选
     *
     * Table:     pms_product_attribute
     * Column:    select_type
     * Nullable:  true
     */
    private Integer selectType;

    /**
     * 属性录入方式：0->手工录入；1->从列表中选取
     *
     * Table:     pms_product_attribute
     * Column:    input_type
     * Nullable:  true
     */
    private Integer inputType;

    /**
     * 可选值列表，以逗号隔开
     *
     * Table:     pms_product_attribute
     * Column:    input_list
     * Nullable:  true
     */
    private String inputList;

    /**
     * 排序字段：最高的可以单独上传图片
     *
     * Table:     pms_product_attribute
     * Column:    sort
     * Nullable:  true
     */
    private Integer sort;

    /**
     * 分类筛选样式：1->普通；1->颜色
     *
     * Table:     pms_product_attribute
     * Column:    filter_type
     * Nullable:  true
     */
    private Integer filterType;

    /**
     * 检索类型；0->不需要进行检索；1->关键字检索；2->范围检索
     *
     * Table:     pms_product_attribute
     * Column:    search_type
     * Nullable:  true
     */
    private Integer searchType;

    /**
     * 相同属性产品是否关联；0->不关联；1->关联
     *
     * Table:     pms_product_attribute
     * Column:    related_status
     * Nullable:  true
     */
    private Integer relatedStatus;

    /**
     * 是否支持手动新增；0->不支持；1->支持
     *
     * Table:     pms_product_attribute
     * Column:    hand_add_status
     * Nullable:  true
     */
    private Integer handAddStatus;

    /**
     * 属性的类型；0->规格；1->参数
     *
     * Table:     pms_product_attribute
     * Column:    type
     * Nullable:  true
     */
    private Integer type;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table pms_product_attribute
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}